package com.ssy.lingxi.order.model.vo.platform.request;

import com.ssy.lingxi.order.handler.annotation.FundModeAnnotation;
import com.ssy.lingxi.order.handler.annotation.PlatformPaymentPayTypeAnnotation;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 平台后台 - 新增会员支付策略接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-11
 */
public class PlatformPaymentPayTypeVO implements Serializable {
    private static final long serialVersionUID = 7105419059305572948L;

    /**
     * 支付方式枚举
     */
    @NotNull(message = "支付方式枚举值不能为空")
    @PlatformPaymentPayTypeAnnotation
    private Integer payType;

    /**
     * 资金归集模式枚举
     */
    @NotNull(message = "资金归集方式不能为空")
    @FundModeAnnotation
    private Integer fundMode;

    /**
     * 支付渠道枚举列表
     */
    @NotEmpty(message = "支付渠道枚举列表不能为空")
    private List<Integer> payChannels;

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getFundMode() {
        return fundMode;
    }

    public void setFundMode(Integer fundMode) {
        this.fundMode = fundMode;
    }

    public List<Integer> getPayChannels() {
        return payChannels;
    }

    public void setPayChannels(List<Integer> payChannels) {
        this.payChannels = payChannels;
    }
}
